package Library;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * 
 */

/**
 * @author mishel hen
 *
 */
/**
 * This class is the StatisticInfo
 */
public class StatisticInfo implements Serializable{
	/**
	 * Median of regular books
	 */
	private Long mid0;	
	/**
	 * Median of specials books
	 */
	private Long mid1;
	/**
	 * Average of regular books
	 */
	private double avg0;
	/**
	 * Average of specials books
	 */
	private double avg1;
	/**
	 * 
	 */
	private Long dis0;
	/**
	 * 
	 */
	private Long dis1;
	/**
	 * num of late
	 */
	public Long numOfLate;
	/**
	 * duration
	 */
	public Long duration;
	/**
	 * list of the duration late
	 */
	public ArrayList<Long> statisticList0 = new ArrayList<Long>();
	/**
     * list of the duration late	 
     */
	public ArrayList<Long> statisticList1 = new ArrayList<Long>();
	/**
     * Constructs an instance of StatisticInfo.
	 */
	public StatisticInfo() {
		// TODO Auto-generated constructor stub
	}
	/**
	 * @param med0
	 * @param med1
	 * @param avg02
	 * @param avg12
	 */
	public StatisticInfo(Long mid0, Long mid1, double avg02, double avg12) {
		super();
		this.mid0 = mid0;
		this.mid1 = mid1;
		this.avg0 = avg02;
		this.avg1 = avg12;
	}

	public StatisticInfo(Long numOfLate,Long duration) {
		super();
		this.numOfLate=numOfLate;
		this.duration=duration;
	}

	/**
	 * @return the med0
	 */
	public Long getmid0() {
		return mid0;
	}



	/**
	 * @param med0 the med0 to set
	 */
	public void setmid0(Long med0) {
		this.mid0 = mid0;
	}



	/**
	 * @return the med1
	 */
	public Long getmid1() {
		return mid1;
	}



	/**
	 * @param med1 the med1 to set
	 */
	public void setmid1(Long mid1) {
		this.mid1 = mid1;
	}



	/**
	 * @return the avg0
	 */
	public double getAvg0() {
		return avg0;
	}



	/**
	 * @param avg0 the avg0 to set
	 */
	public void setAvg0(Long avg0) {
		this.avg0 = avg0;
	}



	/**
	 * @return the avg1
	 */
	public double getAvg1() {
		return avg1;
	}



	/**
	 * @param avg1 the avg1 to set
	 */
	public void setAvg1(Long avg1) {
		this.avg1 = avg1;
	}



	/**
	 * @return the dis0
	 */
	public Long getDis0() {
		return dis0;
	}



	/**
	 * @param dis0 the dis0 to set
	 */
	public void setDis0(Long dis0) {
		this.dis0 = dis0;
	}



	/**
	 * @return the dis1
	 */
	public Long getDis1() {
		return dis1;
	}



	/**
	 * @param dis1 the dis1 to set
	 */
	public void setDis1(Long dis1) {
		this.dis1 = dis1;
	}
	
}

